﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TileMapEditor.Internal
{
    [Serializable]
    internal class SpriteRect
    {
        [SerializeField]
        public string name;

        [SerializeField]
        public string orignalName;

        [SerializeField]
        public Vector2 pivot;

        [SerializeField]
        public SpriteAlignment alignment;

        [SerializeField]
        public Vector4 border;

        [SerializeField]
        public Rect rect;

        [SerializeField]
        public List<List<Vector2>> outline;

        [SerializeField]
        public float tessellationDetail;

        public SpriteRect()
        {
            this.name = string.Empty;
            this.orignalName = string.Empty;
            this.pivot = Vector2.zero;
            this.outline = new List<List<Vector2>>();
        }
    }
}
